import request from '@/utils/request';

// 价格比对预警列表
export function getPriceComparisonList (params, warningType) {
    const p = { ...params, warningType }
    return request({
        url: '/demo/assetInfo/list',
        method: 'get',
        params: p,
    });
}

// 解除预警
export function removeWarning (ids) {
    return request({
        url: `/demo/assetInfo/removeWarning/${ids}`,
    });
}

export function pushWarning (params) {
    return request({
        url: `/demo/assetInfo/push`,
        params
    })
}